package com.hitalkie.teacher.app;


/**
 * Date 24/09/2016
 *
 * @author charliema
 */

public class TalkieApi {


    private static final String HOST_PRODUCTION = "http://api.hitalkie.com";
    private static final String HOST_DEVELOPMENT = "http://121.42.160.61:8080/talkie";
    //    private static final String HOST_DEVELOPMENT = "http://121.42.160.61";

    public static String getHost() {
        return TalkieApplication.IS_DEBUG ? HOST_DEVELOPMENT : HOST_PRODUCTION;
    }

    public static final String PATH_COUNTRY_CODE = "/common/country_code/";
    public static final String PATH_COUNTRY = "/countries/";

    public static final String PATH_SIGN_IN = "/users/signin/";
    public static final String PATH_SIGN_UP = "/users/signup/";
    public static final String PATH_REQUEST_SMS_CODE = "/requestsmscode/";
    public static final String PATH_USER = "/users/";
    public static final String PATH_ME = "/users/me/";
    public static final String PATH_PASSWORD = "/users/password/";
    public static final String PATH_PHONE = "/users/phone/";
    public static final String PATH_USER_AVATAR_UPLOAD = "/users/avatar/upload";


    public static final String PATH_VERSION = "/common/version";
    public static final String PATH_INDEX = "/index/";
    public static final String PATH_LESSON = "/lessons/";

    public static final String PATH_EVALUATION = "/evaluations/";
    public static final String PATH_REVIEW = "/reviews/";

    public static final String PATH_NOTIFICATION_LIST = "/notifications/";
    public static final String PATH_NOTIFICATION_COUNT = "/common/messages/";

    public static final String PATH_INFO = "/common/info/";
    public static final String PATH_INVITE_MESSAGE_TEACHER = "/common/info?type=invitation_teacher";
    public static final String PATH_INVITE_MESSAGE_STUDENT = "/common/info?type=invitation_student";


    public static final String PATH_WITHDRAW = "/transactions/withdraw/";
}
